package com.xinjian.jianba.dao.dwmid;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.xinjian.jianba.enity.BuziTypeEntity;

@Mapper
public interface BuziTypeDao {

	@Select("select id,type,typename,adddate from buzi_type order by type asc")
	public List<BuziTypeEntity> getBuziTypes();
	
	@Select("select id,type,typename,adddate from buzi_type where type=#{type}")
	public BuziTypeEntity getBuziTypesByType(@Param("type") Long type);
}
